disableSerialization;

_n = _this select 0;      
 
console_valid_pre_com_line = lbCurSel 10606;

if (_n == 0) then
{
          _txt=lbText [10606,(lbCurSel 10606)];
          if (_txt=="command line example") then {_txt="";};
          ctrlSetText [10243,_txt]
         
}
else
{
  _MydualList2=
      [
                ["command line example","0"],
                ["vehicle leader unit1 setfuel 0","1"],
                ["vehicle leader unit1 setdamage 1","2"],
                ["{_x setCaptive true; removeAllWeapons _x; doStop _x;} forEach group unit1","3"],
                ["[unit1,unit2,unit3] join unit0","4"],
                ["veh1 lock true","5"],
                ["removeAllWeapons (leader unit1)","6"],
                ["unit1 doMove (getpos unit2)","7"],
                ["unit1 moveInCargo truck1","8"],
                ["doGetOut unit1","9"],
                ["unit1 doTarget joueur2","10"],
                ["hostage1 playMove ""ActsPercMstpSnonWpstDnon_sceneBardak01""","11"],
                ["unit1 addRating -100","12"],
                ["hint format[""%1"", debug ];","13"],
                ["[] execvm ""mods\config\generatingconfig.sqf"";","14"],
                ["[] call bis_fnc_help;","15"]
       ];
 
  [10606, _MydualList2] spawn Dlg_FillListBoxLists;
};
